
/*
    Main color: #466596
    Border color: #9BACC6
*/


/* Content */
.ui-widget-content {
    border-color: #c5c5c5;
    background-color: #fff;
    color: #444;
}

    .ui-widget-content a {
        color: #444;
    }

/* Header */
.ui-widget-header {
    border-color: #c5c5c5;
    background-color: #EBEBEB;
    color: #444;
}

    .ui-widget-header a {
        color: #444;
    }

    /* States */
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        border-color: #c5c5c5;
        background-color: #ffffff;
        color: #444;
    }

        .ui-state-default a,
        .ui-state-default a:link,
        .ui-state-default a:visited {
            color: #444;
        }

    .ui-state-hover,
    .ui-widget-content .ui-state-hover,
    .ui-widget-header .ui-state-hover,
    .ui-state-focus,
    .ui-widget-content .ui-state-focus,
    .ui-widget-header .ui-state-focus {
        border-color: #9BACC6;
        background-color: #fafafa;
        color: #466596;
    }

        .ui-state-hover a,
        .ui-state-hover a:hover,
        .ui-state-hover a:link,
        .ui-state-hover a:visited,
        .ui-state-focus a,
        .ui-state-focus a:hover,
        .ui-state-focus a:link,
        .ui-state-focus a:visited {
            color: #466596;
        }

    .ui-state-active,
    .ui-widget-content .ui-state-active,
    .ui-widget-header .ui-state-active {
        border-color: #9BACC6;
        background-color: #eee;
        color: #466596;
    }

        .ui-state-active a,
        .ui-state-active a:link,
        .ui-state-active a:visited {
            color: #466596;
        }


    .ui-state-highlight,
    .ui-widget-content .ui-state-highlight,
    .ui-widget-header .ui-state-highlight {
        border-color: #BF8A8A;
        background-color: #fff;
        color: #000;
    }

        .ui-state-highlight a,
        .ui-widget-content .ui-state-highlight a,
        .ui-widget-header .ui-state-highlight a {
        }

    .ui-state-error,
    .ui-widget-content .ui-state-error,
    .ui-widget-header .ui-state-error {
        border-color: #ffa8a8;
        background-color: #fff8f8;
        color: #000;
    }

        .ui-state-error a,
        .ui-widget-content .ui-state-error a,
        .ui-widget-header .ui-state-error a {
        }

    .ui-state-error-text,
    .ui-widget-content .ui-state-error-text,
    .ui-widget-header .ui-state-error-text {
        color: #000;
    }

    .ui-state-disabled,
    .ui-widget-content .ui-state-disabled,
    .ui-widget-header .ui-state-disabled {
        opacity: .5;
        filter: alpha(opacity=50);
        background-image: none;
    }

        .ui-state-disabled .ui-icon {
            filter: alpha(opacity=50);
        }

/* Icon font */
.ui-icon,
.ui-widget-content .ui-icon {
    color: #888;
}

.ui-widget-header .ui-icon {
    color: #888;
}

.ui-state-default .ui-icon {
    color: #888;
}

.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
    color: #466596;
}

.ui-state-active .ui-icon {
    color: #466596;
}

.ui-state-highlight .ui-icon {
    color: #466596;
}

.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
    color: #ff6c6c;
}


/* Round corner */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
    border-top-left-radius: 4px;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
    border-top-right-radius: 4px;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
    border-bottom-left-radius: 4px;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
    border-bottom-right-radius: 4px;
}


/* CheckBox - RadioButton */
.f-checkbox.f-checked {
    background-color: #466596;
    border-color: #466596;
}

.f-radiobutton:after {
    background-color: #466596;
}

.f-radiobutton.f-checked {
    border-color: #466596;
}

.ui-state-focus .f-checkbox,
.ui-state-focus .f-radiobutton {
    border-color: #9BACC6;
}

.f-menu-item-icon.f-menu-radiobutton.f-checked {
	color: #466596;
}


/* Special - Remove border-color for hover state */
.f-tab-header.ui-state-active,
.f-tab-header.ui-state-hover,
.f-grid-colheader-trigger.ui-state-hover,
.f-grid-colheader.ui-state-hover {
    border-color: #c5c5c5;
}


/* Special - TabStrip */
.f-tabstrip-plain > .f-panel-body,
.f-tabstrip-plain > .f-panel-header,
.f-tabstrip-plain > .f-panel-header .f-panel-tools,
.f-tabstrip-bordercolor .f-tab-header {
    border-color: #c5c5c5;
}

.f-tabstrip-plain > .f-toolbar {
    border-left-color: #c5c5c5;
    border-right-color: #c5c5c5;
}

.f-tabstrip-plain.f-tabstrip-header-top > .f-panel-header .f-tabstrip-scroller,
.f-tabstrip-plain.f-tabstrip-header-right > .f-panel-header .f-tabstrip-scroller {
    border-bottom-color: #c5c5c5;
}

.f-tabstrip-plain.f-tabstrip-header-bottom > .f-panel-header .f-tabstrip-scroller,
.f-tabstrip-plain.f-tabstrip-header-left > .f-panel-header .f-tabstrip-scroller {
    border-top-color: #c5c5c5;
}

.f-tab-header.ui-state-active {
    background-color: #fff;
}

    .f-tab-header.ui-state-active::after {
        background-color: #fff;
    }



/* Special - Grid selected cell */
.f-grid-selectedcell-border {
    border-color: #c5c5c5 !important;
}



/* Special - Grid selected row */
.f-grid-row.ui-state-active {
    background-color: #DBE6F5;
    color: #444;
}

    .f-grid-row.ui-state-active a,
    .f-grid-row.ui-state-active a:link,
    .f-grid-row.ui-state-active a:visited {
        color: #444;
    }

    .f-grid-row.ui-state-active .ui-icon {
        color: #466596;
    }

/* Special - Tree header style */
.f-tree-headerstyle .f-panel-body {
    background-color: #EBEBEB;
}

.f-tree-headerstyle .f-tree-node.ui-widget-header .f-tree-cell-inner,
.f-tree-minimode-item-inner {
    border-color: #c5c5c5;
}

.f-toolbar-buttonplain,
.f-toolbar-buttonplain .f-buttongroup .f-btn:after {
    border-color: #c5c5c5 !important;
}


/* Special - Button pressed state */
.f-btn.ui-state-active {
    background-color: #466596;
    color: #fff;
}

    .f-btn.ui-state-active .ui-icon {
        color: #fff;
    }


/* Special - Main header */
.ui-widget-header.f-mainheader {
    border-color: #fff;
    background-color: #d0d0d0;
    color: #444;
}

    .ui-widget-header.f-mainheader a,
    .ui-widget-header.f-mainheader .ui-icon {
        color: #444;
    }


/* Special - Sub header */
.ui-widget-header.f-subheader {
    background-color: #fff;
}




/* Special - MessageBoxIcon */
.f-messagebox-icon.f-messageicon-information,
.f-messagebox-icon.f-messageicon-question {
    color: #466596;
}


